$white: #fff;
$black: #020201;
$theme: #291600;
$theme-light: #ac7f58;
$font_size: 12px;
$nav_h: 44px;
$device_h: 100vh;
$device_w: 100vw;
$view_w: 20rem;
$base_index: 1;

.page_detail {
  padding: 44px 0 50px 0;
  overflow: hidden;
  header {
    z-index: 10;
    margin-bottom: 0;
    line-height: 40px;
    .go {
      height: 40px;
      overflow: hidden;
      display: inline-block;
      border-radius: 0;
      color: $theme-light;
    }
    .title {
      font-size: 18px;
      font-weight: bold;
      color: $theme-light;
    }
  }
  article {
    section {
      &.main {
        .compic {
          height: 20rem;
        }
        .info {
          color: $theme-light;
          p {
            font-size: 16px;
          }
          .price {
            font-size: 20px;
          }
        }
        .detail {
          img {
            width: 100%;
          }
        }
      }
      &.extra {
        img {
          display: block;
          margin: 0 auto;
          width: 100%;
        }
      }
      &.boundary {
        img {
          width: 100%;
        }
        .comOne {
          background-color: $white;
          margin: .25rem .3rem;
          border: 1px solid $theme-light;
          overflow: hidden;
          .pic {
            float: left;
            width: 50%;
            img {
              width: 100%;
            }
          }
          .info {
            float: left;
            width: 50%;
            padding: 5px 0;
            .name {
              font-size: 14px;
              font-weight: 600;
              color: $theme-light;
            }
            .price {
              color: $theme-light;
              top: 2rem;
              .num {
                font-size: 16px;
              }
            }
            .brief {
              white-space: pre-wrap;
            }
          }
          p {
            font-size: 12px;
            margin: 2px 5px;
            color: $theme-light;
          }
          .operate {
            clear: both;
            position: relative;
            left: 17rem;
            bottom: 1.75rem;
            height: 0;
            overflow: visible;
            transition: all .3s ease;
            -webkit-transition: all .3s ease;
            p {
              height: 1.5rem;
              width: 1.5rem;
              margin: 0;
              border-radius: 50%;
            }
            p.icon-ss-plus {
              font-size: 1.5rem;
              color: $theme-light;
            }
            p.num {
              height: 1.5rem;
              border: 0;
              line-height: 1.5rem;
              font-size: .8rem;
              color: $black;
            }
            p.icon-ss-minus {
              font-size: 1.5rem;
              color: $theme-light;
            }
          }
          .operate.show {
            bottom: 4.75rem;
          }
        }
      }
    }
  }
  footer {
    .operate {
      line-height: 44px;
      font-size: 25px;
      .icon {
        border-radius: 50%;
        color: $theme-light;
        vertical-align: middle;
      }
      .num {
        border-radius: 5px;
        height: 30px;
        background: #fff;
        margin: 8px 0 0 0;
        color: black !important;
        line-height: 30px;
        font-size: 18px;
      }
    }
    .btn {
      height: 40px;
      overflow: hidden;
      display: inline-block;
      text-align: center;
      border-radius: 0;
    }
  }

  .boundary {
    width: 100%;
    white-space: nowrap;
    font-size: 16px;
    margin: 10px auto;
    hr {
      position: relative;
      display: block;
      width: 90%;
      color: $theme-light;
      border-color: $theme-light;
      background: $theme-light;
    }
    .middle {
      position: relative;
      min-width: 120px;
      top: -33px;
      padding: 0;
      height: 0;
      overflow: visible;
      font-size: 19px;
      span {
        padding: 0 10px;
        color: $theme-light;
        font-weight: bold;
      }
    }
  }

}

